22. Build List Item Layout Quiz
Question:
Creating a New Layout File:
To create a new layout file, go to the project directory pane.
Right click on the res/layout folder, and select New > Layout resource file and call it “list_item.xml”. The root element of your new layout can be a LinearLayout.
Assign view IDs to the TextViews so that we can refer to them in the Java code later.
Then answer the following quiz question.